All Questions
4 questions
6votes
1answer
638views
Best way to performance permutations
This has been my white whale for a while, the idea is convert all the symbols to the goal symbol using all the pieces. I did an algorithm like 5 years ago (now is lost) and reach lvl 48 but got stuck ...
2votes
1answer
9kviews
Computing the powerset of a list
I've written the following code for computing the powerset of a list (we consider the list has all distinct elements, although it doesn't really matter). Can this function be further optimized? <...
4votes
1answer
2kviews
Seeking improved Objective-C permutation algorithm
This algorithm seeks to find all of the possible permutations of a word: ...
8votes
1answer
2kviews
Speeding up subset sum implementation
Important fact: the number of the input is greater than 1. How do I use this fact to speed up this solution? ...